package com.myschool.server.manager.impl;

import java.util.List;
import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.myschool.server.dao.StudentsParentsLinkDao;
import com.myschool.server.dao.support.BaseEntityDaoHibernate;
import com.myschool.server.manager.BaseManager;
import com.myschool.server.manager.StudentsParentsLinkManager;
import com.myschool.server.model.StudentsParentsLink;


@Service
@Transactional
public class StudentsParentsLinkManagerImpl  extends BaseManager<StudentsParentsLink> implements StudentsParentsLinkManager {

	

	@Autowired
	private StudentsParentsLinkDao studentsParentsLink;


	@Override
	protected BaseEntityDaoHibernate getDao() {

		return (BaseEntityDaoHibernate) this.studentsParentsLink;
	}


	@Override
	public List<StudentsParentsLink> retrieveAllParentsBySection(Long sectionID) {
		// TODO Auto-generated method stub
		return this.studentsParentsLink.retrieveAllParentsBySection(sectionID);
	}
	
}
